//车架子创建得依赖底盘
public class CarFrame {
    private Chassis chassis;
    public CarFrame(Chassis chassis) {
        this.chassis = chassis;
    }
    public void init() {
        chassis.init();
        System.out.println("车架子创造完成");
    }
}
